import request from '@/utils/request'


export function hotelOrderList(params) {
  return request({
    url: `/hotel/order/list`,
    method: 'get',
    params
  })
}


export function hotelOrderCheckIn(data) {
  return request({
    url: `/hotel/order/checkIn`,
    method: 'put',
	data
  })
}

export function cancelReservation(data) {//取消预约接口
  return request({
    url: `/hotel/order/cancelReservation`,
    method: 'PUT',
    data
  });
}

export function cancelOrder(data) {//取消订单
  return request({
    url: `/hotel/order/cancelOrder`,
    method: 'PUT',
    data
  });
}



